package de.pasbreuer.openmovieman;

import java.util.Date;

public abstract class Entity {
	public final static String[] columnNames = {"ID","Type", "Title","Location", "Purchase Date","Purchase Price"};
	private int id;
	private String title;
	private String location;
	private Date purchaseDate;
	private double purchasePrice;
	
	

	public Entity() {
		super();
	}

	public Entity(int id, String title,  String location, Date purchaseDate,
			double purchasePrice) {
		super();
		this.id = id;
		this.title = title;
		this.purchaseDate = purchaseDate;
		this.purchasePrice = purchasePrice;
		this.location = location;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public Date getPurchaseDate() {
		return purchaseDate;
	}

	public void setPurchaseDate(Date purchaseDate) {
		this.purchaseDate = purchaseDate;
	}

	public double getPurchasePrice() {
		return purchasePrice;
	}

	public void setPurchasePrice(double purchasePrice) {
		this.purchasePrice = purchasePrice;
	}

}
